contains

public abstract boolean contains(String key)

Returns true if the storage contains an item with the specified key, otherwise false.

Parameters

key

the key name to check. Can be empty or blank

Throws

when the frame is closed

if the access to the storage is forbidden for the current document